setTop

abstract fun setTop(offset: Int)

Sets the vertical offset (Y-coordinate) of the control's top-left corner.

Parameters

offset

The new top position in pixels.